package org.millioncall.yueyoga.admin.dao.impl;

import java.util.List;

import org.millioncall.openplatform.dao.PreparedQuery;
import org.millioncall.yueyoga.admin.dao.BaseDao;
import org.millioncall.yueyoga.admin.dao.OrderTypeDAO;
import org.millioncall.yueyoga.admin.model.OrderType;

public class OrderTypeDAOImpl extends BaseDao implements OrderTypeDAO {

	@Override
	public List<OrderType> findAllAvailable() {
		PreparedQuery<OrderType> pq = this.getPagableSqlSessionTemplate().findAll("findAllOrderTypeAvailable");
		return pq.list();
	}

}
